import request from '@/utils/request'

// 查询服务包-服务包标签列表
export function listPackagetag(query) {
  return request({
    url: '/packagetag/packagetag/list',
    method: 'get',
    params: query
  })
}
export function listPackagetag2(query) {
  return request({
    url: '/packagetag/packagetag/list2',
    method: 'get',
    params: query
  })
}
// 查询服务包-服务包标签详细
export function getPackagetag(relationId) {
  return request({
    url: '/packagetag/packagetag/' + relationId,
    method: 'get'
  })
}

// 新增服务包-服务包标签
export function addPackagetag(data) {
  return request({
    url: '/packagetag/packagetag',
    method: 'post',
    data: data
  })
}

// 修改服务包-服务包标签
export function updatePackagetag(data) {
  return request({
    url: '/packagetag/packagetag',
    method: 'put',
    data: data
  })
}

// 删除服务包-服务包标签
export function delPackagetag(relationId) {
  return request({
    url: '/packagetag/packagetag/' + relationId,
    method: 'delete'
  })
}


